package com.hbsx.oauth.dao;

import com.hbsx.oauth.entity.TbPermission;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.MyMapper;

import java.util.List;


/**
 * 权限表(TbPermission)表数据库访问层
 *
 * @author makejava
 * @since 2021-01-14 14:27:52
 */
public interface TbPermissionMapper extends MyMapper<TbPermission> {

    List<TbPermission> selectByUserId(@Param("userId") Long userId);

}